{{define "content"}}
<form method="post" action="/add">
    <div class="form-group">
        <label for="exampleInputEmail1">标题</label>
        <input type="text" class="form-control" name="title">
    </div>
    <div class="form-group">
        <label for="exampleInputPassword1">分类</label>
        <input type="text" class="form-control" name="cls" value="日志">
    </div>
    <div class="form-group">
        <label for="exampleInputPassword1">内容</label>
        <textarea class="form-control" name="content" rows="5"></textarea>
    </div>
    <button type="submit" class="btn btn-primary">提交</button>
</form>
    {{template "goback"}}
{{end}}